//
//  SkillChoiceViewController.h
//  RosettaApplication2
//
//  Created by Taylor White on 11/21/13.
//  Copyright (c) 2013 Miami University. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <sqlite3.h>

@interface SkillChoiceViewController : UIViewController {
    NSInteger *skills;
    NSInteger selected[3];
    sqlite3 *inputDbName;
}


@property (retain, nonatomic) NSString *rosetta_db, *student, *job, *skillTable, *city,*match;
@property (readwrite, nonatomic) int numberOfRows;
@property (readwrite, nonatomic) NSMutableArray *dataList;
@property (readwrite, nonatomic) BOOL table_ok, db_open_status;
@property (retain, nonatomic) NSArray *my_column_names;

@property (strong, nonatomic) IBOutlet UITableView *m_tableView;

- (IBAction)saveButton:(id)sender;
- (IBAction)fetchButton:(id)sender;

-(BOOL) openDBWithSQLName:(NSString *)sqlname;
-(BOOL) createTable:(NSString *)tablename WithColumns:(NSArray *) columnNames;
-(BOOL) addItemstoTable:(NSString *)tablename WithColumnValues:(NSDictionary *)valueObject;
-(void) closeDB;


/*
@property (strong, nonatomic) IBOutlet UIButton *skill0;
@property (strong, nonatomic) IBOutlet UIButton *skill1;
@property (strong, nonatomic) IBOutlet UIButton *skill2;
@property (strong, nonatomic) IBOutlet UIButton *skill3;
@property (strong, nonatomic) IBOutlet UIButton *skill4;
@property (strong, nonatomic) IBOutlet UIButton *skill5;
@property (strong, nonatomic) IBOutlet UIButton *skill6;
@property (strong, nonatomic) IBOutlet UIButton *skilly7;
@property (strong, nonatomic) IBOutlet UIButton *skill8;
@property BOOL ** dots;
 */



@end
